﻿<phone:PhoneApplicationPage 
    x:Class="girapong.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot es la cuadrícula raíz donde se coloca todo el contenido de la página-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contiene el nombre de la aplicación y el título de la página-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Text="giraPong" Style="{StaticResource PhoneTextNormalStyle}"/>
        </StackPanel>

        <!--ContentPanel. Colocar aquí el contenido adicional-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Button Content="1 VERSUS 1" Height="197" HorizontalAlignment="Left" Margin="223,183,0,0" Name="button1" VerticalAlignment="Top" Width="227" Click="button1_Click" Background="#FF3535CE" BorderBrush="{x:Null}"></Button>
            <Button Content="{Binding Path=MyLocalizedResx.resis, Source={StaticResource LocalizedResx}}" Height="197" HorizontalAlignment="Left" Margin="12,183,0,0" Name="button2" VerticalAlignment="Top" Width="228" Click="button2_Click" Background="#FFDE1F1F" BorderBrush="{x:Null}"></Button>
            <Button BorderBrush="{x:Null}" Content="{Binding Path=MyLocalizedResx.scores, Source={StaticResource LocalizedResx}}" Height="194" HorizontalAlignment="Left" Margin="12,365,0,0" Name="button3" VerticalAlignment="Top" Width="228" Background="#FFDE8525" Click="button3_Click"></Button>
            <Button Background="#FF2F8525" BorderBrush="{x:Null}" Content="{Binding Path=MyLocalizedResx.howtoplay, Source={StaticResource LocalizedResx}}" Height="194" HorizontalAlignment="Left" Margin="223,365,0,0" Name="button4" VerticalAlignment="Top" Width="228" Click="button4_Click" />
            <TextBlock Height="93" HorizontalAlignment="Left" Margin="80,30,0,0" Name="textBlock1" Text="giraPong" VerticalAlignment="Top" Width="334" FontSize="72" />
            <TextBlock Height="33" HorizontalAlignment="Left" Margin="109,144,0,0" Name="textBlock2" Text="{Binding Path=MyLocalizedResx.choose, Source={StaticResource LocalizedResx}}" VerticalAlignment="Top" Width="249" FontSize="26" />
        </Grid>
    </Grid>
 
    <!--Código de ejemplo que muestra el uso de ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Botón 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Botón 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="Elemento de menú 1"/>
                <shell:ApplicationBarMenuItem Text="Elemento de menú 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>